package com.ll.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ll.dao.entity.EmailServer;

public interface EmailServerMapper {

	public void insertEmailServer(EmailServer emailServer);

	public void deleteEmailServerById(String emailServerId);

	public void updateEmailServer(EmailServer emailServer);

	public void updateSensitiveEmailServer(EmailServer emailServer);

	public EmailServer findEmailServerById(String emailServerId);

	public List<EmailServer> findEmailServerList();

	public int deleteEmailServerListByIds(String[] Ids);

	public int insertEmailServerList(List<EmailServer> emailServers);

	public void updateEmailServerList(List<EmailServer> emailServers);

	public List<EmailServer> findEmailServerQuery(EmailServer emailServer);

	public List<EmailServer> findEmailServerQueryPage(@Param("obj") EmailServer emailServer, @Param("startIndex") int startIndex, @Param("limit") int limit);

	public int findCountEmailServerQuery(EmailServer emailServer);

}
